package com.qf;

import java.util.function.Supplier;

public class SupplierTest {
    public static void main(String[] args) {

        Supplier<Double> supplier = ()-> 20.0;

        Double aDouble = supplier.get();
        System.out.println(aDouble);
    }
}
